package org.jiucai.cas.auth.dao;

import org.jiucai.cas.domain.AuthQuery;
import org.jiucai.cas.domain.UserInfo;

public interface AuthDao {

	public Boolean checkUser(AuthQuery query);

	public UserInfo getUserInfo(AuthQuery query);

	public UserInfo getUserInfo(UserInfo query);
	
	/**
	 * 登录后，更新用户的一些信息
	 * @param query
	 * @return
	 */
	public UserInfo updateUserInfo(UserInfo query);
}
